package com.ruoyi.basedata.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料配置对象 t_bd_materialconfig
 * 
 * @author ptt
 * @date 2024-12-09
 */
public class BdMaterialconfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 类别 */
    private String materialgroup;

    /** 类别编码 */
    @Excel(name = "类别编码")
    private String materialnumber;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String materialname;

    /** 入库方库存组织 */
    @Excel(name = "入库方库存组织")
    private String receiptorg;

    /** 排除组织 */
    @Excel(name = "排除组织")
    private String excludeorg;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 描述 */
    @Excel(name = "描述")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMaterialgroup(String materialgroup) 
    {
        this.materialgroup = materialgroup;
    }

    public String getMaterialgroup() 
    {
        return materialgroup;
    }
    public void setMaterialnumber(String materialnumber) 
    {
        this.materialnumber = materialnumber;
    }

    public String getMaterialnumber() 
    {
        return materialnumber;
    }
    public void setMaterialname(String materialname) 
    {
        this.materialname = materialname;
    }

    public String getMaterialname() 
    {
        return materialname;
    }
    public void setReceiptorg(String receiptorg) 
    {
        this.receiptorg = receiptorg;
    }

    public String getReceiptorg() 
    {
        return receiptorg;
    }
    public void setExcludeorg(String excludeorg) 
    {
        this.excludeorg = excludeorg;
    }

    public String getExcludeorg() 
    {
        return excludeorg;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("materialgroup", getMaterialgroup())
            .append("materialnumber", getMaterialnumber())
            .append("materialname", getMaterialname())
            .append("receiptorg", getReceiptorg())
            .append("excludeorg", getExcludeorg())
            .append("state", getState())
            .append("comment", getComment())
            .toString();
    }
}
